﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;

namespace Ross.Traning.Controllers
{
    public class BaseApiController : ApiController
    {
        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        public static string dbContextStr = "TranDbContext";
        /// <summary>
        /// 加密密钥
        /// </summary>
        public static string encryptKey { get; set; } = "8679";
        public string uploadImgPath = System.Configuration.ConfigurationManager.AppSettings["UploadImagePath"];
        public string uploadFilePath = System.Configuration.ConfigurationManager.AppSettings["UploadFilePath"];
    }
}
